/**
 * 
 */
package com.mals.pingpong.controller;

import java.util.ArrayList;
import java.util.List;

/**
 * @author marcosal
 *
 */
public class Space {
	
	private List<Collidable> collidables;
	
	public Space () {
		collidables = new ArrayList<Collidable>();
	}
	
	public void setCollidables (List<Collidable> collidables) {
		this.collidables = collidables;
	}
	
	public List<Collidable> getCollidables() {
		return this.collidables;
	}
	
	/**
	 * Steps in the list of collidable elements and calculates collisions.
	 */
	public List<Collidable> checkCollisions () {
		
		List<Collidable> collided = new ArrayList<Collidable>();
		
		for (int i = 0; i < collidables.size(); i++) {
			
		}
		
		return collided;
	}
	
	

}
